<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<label for="male">
				<input type="radio" name="sex" id="male" value="男"  v-model="sex"/>男
			</label>
			<label for="female">
				<input type="radio" name="sex" id="female" value="女" v-model="sex"/>女
			</label>
			<h2>您选择的性别是：{{sex}}</h2>
		</div>
		
		<script src="../js/vue.js"></script>
		<script>
			const app=new Vue({
				el:'#app',
				data:{
					message:'你好',
					sex:'女'
				}
			})
		</script>
	</body>
</html>
